package com.ruoyi.print.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打印模版对象 print_template
 *
 * @author husky
 * @date 2023-11-04
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("print_template")
@ApiModel(value = "PrintTemplate", description = "打印模版实体")
public class PrintTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** # */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("#")
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String name;

    /** 模版类型 */
    @Excel(name = "模版类型")
    @ApiModelProperty("模版类型")
    private String type;

    /** 模版内容 */
    @Excel(name = "模版内容")
    @ApiModelProperty("模版内容")
    private String template;

}
